package com.axend.aerosense.room.ui.adapter;

import com.axend.aerosense.common.bean.WardSelectItemBean;
import com.chad.library.adapter.base.BaseProviderMultiAdapter;
import com.axend.aerosense.room.ui.provider.WardProvider;

import org.jetbrains.annotations.NotNull;

import java.util.List;

public class WardProviderMultiAdapter extends BaseProviderMultiAdapter<WardSelectItemBean> {
    public final static int TYPE_COMMON = 1;
    public WardProviderMultiAdapter(boolean selectMode) {
        super();
        addItemProvider(new WardProvider(selectMode));
    }

    @Override
    protected int getItemType(@NotNull List<? extends WardSelectItemBean> list, int index) {
        return TYPE_COMMON;
    }
}
